

import android.widget.TextView;

public class PressChange extends Thread {
	static TextView Text;
	static int[] mass = new int[4];

	public PressChange(TextView ToWrite, int[] PressButton) {
		Text = ToWrite;
		mass = PressButton;
	}

	public void run() {
		for (int i = 0; i < 15; ++i) {
			try {
				Thread.sleep(1);
				Text.setText(Integer.toString(mass[0])
						+ Integer.toString(mass[1]) + Integer.toString(mass[2])
						+ Integer.toString(mass[3]));
			} catch (InterruptedException e) {

				// e.printStackTrace();
			}
		}
	}
}